import request from '@/utils/request'

//获取评价列表
export function getEvaluateList(data) {
	return request({
		method: 'get',
		url: 'sysEvaluate/query',
		params: data,
	})
}

//添加评价
export function addedEvaluate(data) {
	return request({
		method: 'post',
		url: 'sysEvaluate/add',
		data,
	})
}

//删除评价
export function deleteEvaluate(data) {
	return request({
		method: 'get',
		url: 'sysEvaluate/delete/' + data,
	})
}

//获取评价详情
export function getEvaluateDetail(data) {
	return request({
		method: 'get',
		url: 'sysEvaluate/query/' + data,
	})
}